<script type="text/javascript">
 function CheckAllByID(_elementID)

                            {
                              
                                try
                                {
                                    var checkboxes = $(_elementID).select('[type="checkbox"]');

                                    checkboxes.each(function(s, index) 
                                    {
                                      if (s.checked==false && index!=0){
                                      s.checked = true;
                                     
                                      }
                                      else if(index!=0){
                                        
                                        s.checked = false;
                                      }
                                    }
                                  );
                                }
                                catch(e)
                                {
                                    alert(e.description);
                                }
                            }
</script>
<div class="registration-container">
	<div class="registration-header">
    	Join SearchMyCampus for free! Sign-up below.
    </div>
    <div class="registration-inner">
        <div class="registration-user-fields">
        	<div class="registration-field-text">
            	*Are you a student?
            </div>
            <div class="registration-field-value">
              
               <%=radio_button(:registration,:student,  :yes ,:onclick=>remote_function(:url => 'student_registration_form', :with => "'user_type=student'",:update=>"user_form")) -%>Yes&nbsp;&nbsp;&nbsp;
               <%=radio_button(:registration,:student,  :no ,:onclick=>remote_function(:url => 'service_provider_registration_form', :with => "'user_type=non-student'",:update=>"user_form")) -%>No&nbsp;&nbsp;&nbsp;
            </div>
        </div>
        
            <div  id="user_form"></div>
      
    </div>
</div>


